package com.ruoyi.system.service.h5;

import com.ruoyi.system.domain.MiniOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.vo.HomeStatisticsVO;

import java.util.List;

/**
* @author 李鼎
* @description 针对表【mini_order(订单表)】的数据库操作Service
* @createDate 2023-11-24 09:44:28
*/
public interface MiniOrderService extends IService<MiniOrder> {

    HomeStatisticsVO selectStatisticsInfo(String startTime, String endTime);
    /**
     * 查询订单
     *
     * @param id 订单主键
     * @return 订单
     */
    public MiniOrder selectMiniOrderById(Long id);

    /**
     * 查询订单列表
     *
     * @param miniOrder 订单
     * @return 订单集合
     */
    public List<MiniOrder> selectMiniOrderList(MiniOrder miniOrder);
}
